{if $kaiguans['pages']['quantie_jiugetu'] == '0'}
   <!--独立圈子悬泉设置-->
   <!-- 开启(所有用户) 1-->
   {if $duliquanzishezhi['jiugetu'] =='0'}
	<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
			<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
		</a>
	</div>
	{elseif $duliquanzishezhi['jiugetu'] == '1'}
	<!-- 开启(本圈用户) 1-->
	{elseif $duliquanzishezhi['jiugetu'] == '2'}
	<!--  关闭 (发布) 2-->
	{elseif $duliquanzishezhi['jiugetu'] == '3'}
	<!--   只限圈主 和 管理员  (发布) 3-->
	{elseif $duliquanzishezhi['jiugetu'] == '4'}
	<!--   只限圈主 和 户组设置 3-->
	 
	{/if}
{elseif $kaiguans['pages']['quantie_jiugetu'] == '1'}
<!--全站关闭-->
{elseif $kaiguans['pages']['quantie_jiugetu'] == '2'}
	{if $member.is_admin}
	<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
			<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
		</a>
	</div>
	{/if}
{elseif $kaiguans['pages']['quantie_jiugetu'] == '3'}
	{if $quanzhukaiguans || $member.is_admin || d_fubu_quanxian($index['id'],$member.uid,'jiugetu',1)}
	<!--圈主和管理员-->
	<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
			<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
		</a>
	</div>
	{/if}
{elseif $kaiguans['pages']['quantie_jiugetu'] == '4'}
<!--圈子自定义-->
	{if $fabushezhis['jiugetu']=='0'}
	<!--全部开放-->
	<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
		<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
			<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
			style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
			>
				<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
			</div>
			<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
		</a>
	</div>
	{elseif $fabushezhis['jiugetu']=='1'}
	<!--关闭-->
	{elseif $fabushezhis['jiugetu']=='2'}
	<!--圈主-->
		{if $index.uid == $member.id || $member.is_admin}
			<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
				<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
					<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
					style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
					>
						<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
					</div>
					<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
				</a>
			</div>
		{/if}
	{elseif $fabushezhis['jiugetu']=='3'}
	<!--用户组-->
		{if $index.uid == $member.id || $member.is_admin || d_fubu_quanxian($index['id'],$member.uid,'jiugetu',3)}
			<div class="col-md-3 mr-2 d-shang-15 d-wenzi-juzhong d-quxian-0" >
				<a href="{dr_member_url('quan/son/add',['cid'=>$id,'leixing'=>'tuji'])}">
					<div class=" d-yuanjiao-20 d-gao-50 d-kuan-50 d-tu-juzhong"
					style="background: linear-gradient(to right, #edf1f7, #e7ebf1);"
					>
						<img src="{HOME_THEME_PATH}web/fabu/2-tuji-4.png" width="25" height="25"/>
					</div>
					<div class="d-wenzi-12 d-shang-5" {if $_GET['leixing']=='tuji'}style="color:#14cdb1"{else}style="color:#babec3"{/if}>发图集</div>
				</a>
			</div>
		{/if}
	{/if}

{/if}